import service from "util/service.js"

export function axioslink(url,method){
	return new Promise((resolve,reject)=>{
		service.request({
			url,
			method
		}).then((ok)=>{
			resolve(ok)
		}).catch((err)=>{
			reject(err)
		})
	})
}